package com.skynet.supervision.beans.response;

import com.skynet.supervision.beans.BaseCreateUpdate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

@ApiModel
@Data
@EqualsAndHashCode(callSuper = true)
public class SysDictDataVo extends BaseCreateUpdate implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty("id")
    private String id;
    /**
     * 字典名称
     */
    @ApiModelProperty(value = "字典名称")
    private String dictName;

    /**
     * 字典键值
     */
    @ApiModelProperty(value = "字典键值")
    private String key;

    /**
     * 字典编码
     */
    @ApiModelProperty(value = "字典编码")
    private String code;

    /**
     * 字典值
     */
    @ApiModelProperty(value = "字典值")
    private String value;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;

    /**
     * 是否为默认值
     */
    @ApiModelProperty(value = "是否为默认值")
    private Boolean isDefault;

}
